package com.atguigu.gmall.common.config.pool.properties;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
 * @ClassName ThreadProperties
 * @Description TODO
 * @Author king
 * @Date 2022/11/20 20:47
 * @Version 1.0
 */




@Data
@ConfigurationProperties(prefix = "app.thread.pool")
public class ThreadProperties {

    private int coreSize = 4; //核心大小
    private int maxSize = 8; //最大大小
    private int queueSize = 1000; //队列长度
    private long keepAliveTime = 5; //存活时间 //分钟为单位


}
